﻿using BCCommon.Enums;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace BCDto.MySql.MaterialConfiguration
{

    /// <summary>
    /// 素材后台修改模型
    /// </summary>
    public class MaterialConfigurationSimPutDto
    {

        /// <summary>
        /// 素材名称
        /// </summary>	
        [Display(Name = "素材名称")]
        [Required(ErrorMessage = "{0} 不能为空。")]
        [MaxLength(30, ErrorMessage = "{0} 最多30个字符")]
        public string MaterialName { get; set; }

        /// <summary>
        /// 素材非文本内容地址
        /// </summary>	
        [Display(Name = "素材非文本内容地址")]
        [MaxLength(1000, ErrorMessage = "{0} 最多1000个字符")]
        public string Address { get; set; }
        /// <summary>
        /// 素材文本内容
        /// </summary>	
        [Display(Name = "素材文本内容")]
        public string Content { get; set; }
        /// <summary>
        /// 素材备注信息
        /// </summary>	
        [Display(Name = "素材备注信息")]
        [Required(ErrorMessage = "{0} 不能为空。")]
        [MaxLength(200, ErrorMessage = "{0} 最多200个字符")]
        public string Remark { get; set; }
        /// <summary>
        /// 素材使用备注贴图(文字不好理解，可以贴图帮助理解)
        /// </summary>	
        [Display(Name = "素材使用备注贴图(文字不好理解，可以贴图帮助理解)")]
        [MaxLength(1000, ErrorMessage = "{0} 最多1000个字符")]
        public string RemarkPhoto { get; set; }

        /// <summary>
        /// 用途组编码
        /// </summary>
        [Display(Name = "用途组编码)")]
        [MaxLength(150, ErrorMessage = "{0} 最多150个字符")]
        public string UsageGroupCode { get; set; }
      


    }
}
